import request from '@/lib/request';

export function getList(params) {
  return request({
    url: '/vue-admin-template/table/list',
    method: 'get',
    params
  });
}

export function getDownloadFile(params) {
  return request({
    url: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE + params,
    method: 'get',
    responseType: 'blob'
  });
}
